package com.it.plic;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

/**
 * @author げっしょく
 * @date 2021/8/8
 */
public class Demo4 {
    public static void main(String[] args) throws IOException {
        Socket s = new Socket("127.0.0.1", 10000);
        OutputStream ops = s.getOutputStream();
        ops.write("你是一个大傻逼".getBytes());
        s.close();
        ops.close();
    }
}
